package com.mystudy.dataStructure.collections;

/**
 * @program: infoalgorithm
 * @description: 映射的接口
 * @author: zhouzhilong
 * @create: 2019-07-29 11:35
 **/
public interface Map<K,V> {
    void add(K key,V val);
    V remove(K key);
    boolean contains(K key);
    V get(K key);
    void set(K key,V val);
    int getSize();
    boolean isEmpty();

}
